# /etc/profile

#Set our umask
umask 022

export GOROOT="/usr/lib/go/"
export GOPATH="/usr/lib/go/site/"
export EDITOR="vim"

PATH="/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/usr/sbin/:$GOROOT/bin:$GOPATH/bin:/home/jinzhu/.rbenv/shims/"
export PATH

export LC_CTYPE="zh_CN.utf8"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

#export VBOX_USB=usbfs

export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
	for profile in /etc/profile.d/*.sh; do
		test -r "$profile" && . "$profile"
	done
	unset profile
fi

# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
	. /etc/bash.bashrc
fi

# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP

# Man is much better than us at figuring this out
unset MANPATH
BROWSER=/usr/bin/xdg-open
